package com.hmsg.health.bean.enums;

import lombok.Getter;

/**
 * 获取成长值的方式 t_growth_rules
 */
public enum GrowthEnum {
    PHONE_SUCCESS ( 2,"绑定手机号，手机号验证成功"),
    USER_INFO_SUCCESS ( 1,"完善个人资料"),
    SIGN_IN ( 5,"单日签到"),
    SIGN_IN_LINE ( 2,"连续签到7天"),
    WECHAT_BIND ( 6,"绑定微信"),
    USER_ID_BIND ( 7,"实名认证"),
    LEVEL_0_1 ( 8,"会员升级 V0 -> V1"),
    LEVEL_1_2 ( 9,"会员升级 V1 -> V2"),
    LEVEL_2_3 ( 10,"会员升级 V2 -> V3"),
    MONTH_NO_CONSUME ( 11,"有注册记录，但过去六个月内没有消费"),
    BIRTHDAY_V0 ( 12,"会员等级0级 过生日"),
    BIRTHDAY_V1 ( 13,"会员等级1级 过生日"),
    BIRTHDAY_V2 ( 14,"会员等级2级 过生日"),
    BIRTHDAY_V3 ( 15,"会员等级3级 过生日"),
    BY_1YUAN ( 16,"购物消费一元"),
    BY_FIRST ( 17,"会员开卡后首次消费"),
    BY_YEAR_3TH ( 18,"一年内会员累计消费3次"),
    BY_VIP_STORE ( 19,"购买指定会员商品额外加赠"),
    INVITE_USER ( 20,"成功邀请一个好友注册，赠送50成长值，封顶5000"),
    INVITE_USER_CONSUME ( 21,"成功邀请好友首次消费，赠送邀请人和被邀请人各500成长值"),
    LOTTERY ( 22,"参与大转盘抽奖随机赠送0、5、10、20成长值"),
    ACTIVITY ( 23,"用户参加限时购买活动赠送积分"),
    ;

    @Getter
    private int code;
    @Getter
    private String msg;

    GrowthEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
